package com.hotel_management_backstage.lin.dao.staffManagement;

import com.hotel_management_backstage.lin.entity.staffManagement.SysDepartment;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysDepartmentMapper {

    List<SysDepartment> selectAllDepartment();

    SysDepartment selectDepartmentById(int id);

    void insertSysDepartment(SysDepartment sysDepartment);

    void updateSysDepartmentById(SysDepartment sysDepartment);

    SysDepartment selectSysDepartmentByDepartmentName(String departmentName);
}
